package com.zhb.cloud.distribution.lock.impl;

import java.util.concurrent.TimeUnit;

import com.zhb.cloud.distribution.lock.DistributionLockFactory;

/**
 * @ClassName: AbstractLock
 * @Description: 锁的实现
 * @author: zhb zhb1316783262@163.com
 * @date: 2017年11月14日 下午6:54:47
 *
 */
public class RedisDistributionLock implements DistributionLockFactory {

	@Override
	public void lock() {

	}

	@Override
	public void lock(long leaseTime, TimeUnit unit) {

	}

	@Override
	public boolean tryLock() {
		return false;
	}

	@Override
	public boolean tryLock(long time, TimeUnit unit) {
		return false;
	}

	@Override
	public void unlock() {

	}

	@Override
	public boolean isLocked() {
		return false;
	}

}
